                        <div class="">
                        <h1>تعديل سند قبض</h1>
                        <hr />
                        <form name="editRecpit" method="POST" action="editReciept.php">
                          <div class="bookings-edit-container">
                          <div class="bookings-edit-row">
                          <table class="edit-bookings-table">
                                
                                <tr>
                                      <td>التاريخ</td>
                                      <td>:&nbsp;<input readonly required type="text" class="small-input date-miladi" name="date"  id="dat-miladi-<?php echo $recipt['recipet_id'];?>" placeholder="" value=" <?php   echo  $recipt['miladi_date'];?> "/></td>
                                      <td>رقم السند</td>
                                      <td>:&nbsp;<?php echo $recipt['recipet_id'];?></td>
                                      <input type="hidden" required class="small-input" name="recipet_id"  value="<?php echo $recipt['recipet_id'];?>" />
                                      <input type="hidden" required class="small-input" name="contract_id"  value="<?php echo $recipt['contract_id'];?>" />
                                  </tr>
                                  <tr>
                                      <td>الموافق</td>
                                      <td >:<span class="hijri-date">&nbsp;<?php echo $recipt['Hijri_date']; ?></span></td>
                                      <input type="hidden" required class="small-input" name="hijri-date" id="hijri-date" placeholder="" value="<?php echo $recipt['Hijri_date']; ?>" />
                                      <td></td>
                                      <td></td>
                                  </tr>
                                  <tr>
                                      <td>المستلم</td>
                                      <td>:&nbsp;<input type="text" required class="small-input" name="recipient" id="" placeholder="" value=" <?php echo $recipt['recipient']; ?>" /></td>
                                  </tr>
                                  <tr>
                                    <td>استلمت من</td>
                                      <td><?php echo $recipt['payee']; ?></td>
                                      <input type="text" required class="small-input" name="payee" id="" placeholder="" value=" <?php echo $recipt['payee']; ?>" />
                                  </tr>
                                  <tr>
                                    <td>المبلغ </td>
                                      <td>:&nbsp;<input type="text" class="auto-input" name="amount"  value="<?php echo $recipt['amount']; ?>"/></td>
                                      <td>طريقة الدفع</td>
                                      <td>:&nbsp;
                                      <select class="small-select" name="type">
                                      <?php if($recipt['paymen_method'] == 0){ ?>
                                        <option selected="selected" value="0">نقدى</option>
                                      <?php }else{ ?>
                                        <option value="0">نقدى</option>
                                      <?php }if($recipt['paymen_method'] == 1){ ?>
                                        <option selected="selected" value="1">حوالة بنكية</option>
                                       <?php }else{ ?>
                                        <option value="1">حوالة بنكية</option>
                                       <?php } ?>
                                      </select>
                                      </td>
                                  </tr>
                                  <tr>
                                    <td>من أجل</td>
                                      <td>:&nbsp;<input type="text" class="auto-input" name="reason" value="<?php echo $recipt['reason']; ?>" /></td>
                                  </tr>
                                  <tr>
                                    <td>ملاحظات </td>
                                      <td><p class="text-right"><textarea id="" class="" style="" tabindex="19" cols="20" rows="2" name="notes" value="<?php echo $recipt['notes']; ?>"></textarea></p></td>
                                  </tr>
                           </table>       
                          </div>
                          <div class="save-botton">حفظ</div>
                          </div>
                        </form>
                      </div>  

